package com.huicai.poi.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: MR.LIU
 * @description: 产品实体类
 * @date: 2020/6/7
 * @time: 16:31
 */
@Data
@TableName(value = "product")
public class Product implements Serializable {
    private static final long serialVersionUID = 3381766188696086010L;

    @TableId(value = "id")
    private Long id;

    private String productName;

    private BigDecimal price;

    private String description;

    private Integer status;

    private String caption;

    private Integer stock;
}
